package com.example.easybuy.service;

import com.example.easybuy.entity.PType;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface TypeService {
    List<PType> getList(Map<String, Object> map);
    PageInfo<PType> selectMySon(Map<String ,Object> map);

    boolean doUpdate(Map<String,Object> map);
    boolean doDel(Map<String,Object> map);
    boolean doAdd(Map<String,Object> map);
    PType getCategory(Map<String ,Object> map);
    PType getParent(Map<String ,Object> map);
    boolean findSon(Map<String ,Object> map);
    boolean findProduct(Map<String,Object> map);
}
